
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.FeedTaskQuality;
import cn.edu.scau.cmi.hombio.domain.PigType;
import cn.edu.scau.cmi.hombio.domain.Pigsty;
import cn.edu.scau.cmi.hombio.domain.Task;
import cn.edu.scau.cmi.hombio.domain.TaskPigsty;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for TaskPigsty entities
 * 
 */
public interface TaskPigstyService {

	/**
	* Load an existing TaskPigsty entity
	* 
	 */
	public Set<TaskPigsty> loadTaskPigstys();

	/**
	* Return all TaskPigsty entity
	* 
	 */
	public List<TaskPigsty> findAllTaskPigstys(Integer startResult, Integer maxRows);

	/**
	* Delete an existing FeedTaskQuality entity
	* 
	 */
	public TaskPigsty deleteTaskPigstyFeedTaskQualities(Integer taskpigsty_id, Integer related_feedtaskqualities_id);

	/**
	* Delete an existing TaskPigsty entity
	* 
	 */
	public void deleteTaskPigsty(TaskPigsty taskpigsty);

	/**
	* Save an existing Task entity
	* 
	 */
	public TaskPigsty saveTaskPigstyTask(Integer id, Task related_task);

	/**
	* Save an existing TaskPigsty entity
	* 
	 */
	public void saveTaskPigsty(TaskPigsty taskpigsty_1);

	/**
	* Return a count of all TaskPigsty entity
	* 
	 */
	public Integer countTaskPigstys();

	/**
	* Delete an existing Pigsty entity
	* 
	 */
	public TaskPigsty deleteTaskPigstyPigsty(Integer taskpigsty_id_1, Integer related_pigsty_id);

	/**
	* Save an existing Pigsty entity
	* 
	 */
	public TaskPigsty saveTaskPigstyPigsty(Integer id_1, Pigsty related_pigsty);

	/**
	* Save an existing FeedTaskQuality entity
	* 
	 */
	public TaskPigsty saveTaskPigstyFeedTaskQualities(Integer id_2, FeedTaskQuality related_feedtaskqualities);

	/**
	* Save an existing PigType entity
	* 
	 */
	public TaskPigsty saveTaskPigstyPigType(Integer id_3, PigType related_pigtype);

	/**
	 */
	public TaskPigsty findTaskPigstyByPrimaryKey(Integer id_4);

	/**
	* Delete an existing PigType entity
	* 
	 */
	public TaskPigsty deleteTaskPigstyPigType(Integer taskpigsty_id_2, Integer related_pigtype_id);

	/**
	* Delete an existing Task entity
	* 
	 */
	public TaskPigsty deleteTaskPigstyTask(Integer taskpigsty_id_3, Integer related_task_id);
}